<template>
  <div>
    <van-nav-bar
      title="品牌制造商"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
    fixed/>
    <img :src="productList.app_list_pic_url" alt="" />
    <p>{{ productList.simple_desc }}</p>
  </div>
</template>

<script>
import { detailaction } from "@/api/home/product";
export default {
  data() {
    return {
      productList: {},
    };
  },
  created() {
    detailaction({
      id: this.$route.query.id,
    }).then((res) => {
      console.log(res);
      this.productList = res.data;
    });
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang="scss" scoped>
img {
  width: 750px;
  height: 326px;
}
p {
width: 629px;
  font-family: PingFangSC-Regular;
  font-size: 28px;
  color: #666666;
  letter-spacing: 0;
  font-weight: 400;
  margin: 42px auto 0px;
}
</style>